home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 1 / The 640 Meg Shareware Studio CD-ROM Volume I (Data Express)(1992).ISO / driver / macpab2.dsk / MACPA2.ZIP / MAAPI / 2PLAY.H < prev    next >
Text File  |  1992-06-30  |  5KB  |  83 lines

  1. /*********************************************************************/
  2. /*                                     */
  3. /*  INCLUDE NAME = 2play.h                         */
  4. /*                                     */
  5. /*  DESCRIPTIVE NAME = AAPI Two Track Play Example messages         */
  6. /*                                     */
  7. /*  COPYRIGHT = (C) Copyright IBM Corp. 1991.                 */
  8. /*        All rights reserved.                     */
  9. /*        Refer to "LICENSE.DOC" for information regarding     */
  10. /*        the use of this file.                     */
  11. /*                                     */
  12. /*                                     */
  13. /* Unless otherwise specified all messages are restricted to a         */
  14. /* maximum length of 80 visual characters per line.  Messages may    */
  15. /* span multiple lines by inserting carriage return/linefeed (\r\n)  */
  16. /* characters into the message. Total number of characters in the    */
  17. /* message is restricted to 256.                     */
  18. /*                                     */
  19. /*********************************************************************/
  20. #define M_0 "Enter file name to play (Enter for source mix) ==> "
  21. #define M_1 "\nEnter 2nd file name to play (or Enter for none) ==> "
  22. #define M_2 "\n        Press any other key to stop......\n\r\n"
  23. #define M_3 "\n\r\nInsufficient storage to complete operation.\r\n"
  24. #define M_4 "\n\r\nOpen failed, file already exists.\n\r\n"
  25. #define M_5 "\n\r\nOpen failed, file does not exist.\n\r\n"
  26. #define M_6 "\n\r\nGeneral error on audio file.\n\r\n"
  27. #define M_7 "\n\r\nGeneral error on escape file.\n\r\n"
  28. #define M_8 "Signal processor on M-ACPA not responding.\n"
  29. #define M_9 "Audio card software not installed (IBMxxxx.DSP).\n"
  30. #define M_10 "Audio card software damaged or invalid (IBMxxxx.DSP).\n"
  31. #define M_11 "Audio card not installed.\n"
  32. #define M_12 "Audio device driver not installed or in use.\n"
  33. /*********************************************************************/
  34. /*  M-13 - Variable %d can expand to 4 visual characters.         */
  35. /*********************************************************************/
  36. #define M_13 "Error, can not continue -  AAPI rc = %d\n"
  37. /*********************************************************************/
  38. /*  M-14 - Message M_31 is appended to this message.             */
  39. /*       Maximum length is 40 characters or a new line         */
  40. /*       must be started.                         */
  41. /*********************************************************************/
  42. #define M_14 "Playing time\\volume\\balance = "
  43. #define M_15 "MIDI audio type can not be played in DOS or on channel A."
  44. #define M_16 "\n\r\nFile is not an audio file.\n\r\n"
  45. #define M_17 " Master Volume                          (0-120 : Enter = 100) ==> "
  46. #define M_18 " Fade to Volume                         (0-100 : Enter = 100) ==> "
  47. #define M_19 " Length of fade in seconds             (0 - 64 : Enter =   0) ==> "
  48. #define M_20 " Balance                   (0=Left - 100=Right : Enter =  50) ==> "
  49. #define M_21 " Length of pan in  seconds             (0 - 64 : Enter =   0) ==> "
  50. #define M_22 "\n\r\nInvalid combination - can not play these file types together.\n\r\n"
  51. #define M_23 "Requested operation requires DSP reload. Stop current operation first.\n"
  52. #define M_24 "\nPress F1 (track 1) or F2 (track 2) or F3 (both) to start/pause/resume\n\r"
  53. #define M_25 "\n\r\nCan not play ADPCM or MIDI with PCM file\n\r\n"
  54. #define M_26 "\nUse the keys below to control volume/balance on Track 1\n\r"
  55. #define M_27 "    (For Track 2 use Ctrl + key) \n\r"
  56. #define M_28 "    Cursor keys        -  Volume/Balance \n\r"
  57. #define M_29 "    Home, End          -  Pans left/right over 7 seconds \n\r"
  58. #define M_30 "    Page Up, Page Down -  Fades up/down over 7 seconds\n\r"
  59. /*********************************************************************/
  60. /*  M-31 - Variables represent                         */
  61. /*         Track 1 Playing Time, Volume, Balance             */
  62. /*         Track 2    "             "      "                       */
  63. /*  This message is appended to M_14.                     */
  64. /*  Message can expand to a maximum of 40 visual characters.         */
  65. /*********************************************************************/
  66. #define M_31 "%lu %d %d      %lu %d %d      \r"
  67. #define M_32 " Signal processor track      (1 or 2, Enter = any available ) ==> "
  68. #define M_33 " Enter for no file,                          (1 = source mix) ==> "
  69. #define M_34 " Source Mix                            (1 = yes, Enter =  no) ==> "
  70. #define M_35 " Input Source (0=mic, 1=left, 2=right, Enter=both, 4=low-mic) ==> "
  71. #define M_36 " Display volume/balance choices        (1 = yes, Enter =  no) ==> "
  72. #define M_37 " Display other option choices          (1 = yes, Enter =  no) ==> "
  73. #define M_38 " PS/2 speaker (right channel only)     (1 = on,  Enter = off) ==> "
  74. #define M_39 " Invalid value, try again or Ctrl Break to exit\n\r"
  75. #define M_40 "Start or stop position invalid.\n"
  76. #define M_41 " Start position in milliseconds       (Enter = start of file) ==> "
  77. #define M_42 " End   position in milliseconds       (Enter = end   of file) ==> "
  78. #define M_43 " Loop the file                         (1 = yes, Enter =  no) ==> "
  79. #define M_44 "\nM-ACPA Audio API Sample Play Program \n\r"
  80. #define M_45 "(C) Copyright IBM Corp. 1991 - All Rights Reserved.\n\r\n"
  81. #define M_46 "\n\r\nAn AVC MIDI file can only be played with a voice file.\r\n"
  82. /*                                     */
  83.